package com.company.oa.workflow.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ApprovalDTO {
    
    @NotBlank(message = "任务ID不能为空")
    private String taskId;
    
    @NotNull(message = "审批结果不能为空")
    private Integer approvalResult;
    
    private String approvalOpinion;
} 